package com.trg.designmodel.builder.improve;

/**
 * @ClassName: HouseBuilder
 * @Description:    抽象建造者
 * @Author: tangrg
 * @Date: 2021/7/2 15:52
 * @Version: 1.0
 * @Return:
 **/
public abstract class HouseBuilder {

    protected House house = new House();

    //打桩
    public abstract void buildBasic();

    //砌墙
    public abstract void buildWalls();

    //封顶
    public abstract void roofed();

    public House  build(){
        return house;
    }

}
